import React, {Component} from 'react'
//import {connect} from 'react-redux'
import {HashRouter, BrowserRouter, Link, NavLink, Route, Router, Switch, Redirect} from 'react-router-dom'
import {Result, Button, Icon} from 'antd';
import 'antd/dist/antd.less'


export default class nomatch extends Component {
  constructor(props) {
    super(props)
    this.state = {}
  }

  render() {
    return <Result
      icon={<Icon type="smile" theme="twoTone"/>}
      status="404"
      title="404"
      subTitle="抱歉，您访问的页面不存在"
      extra={<Link to="/order"><Button type="primary">返回主页</Button></Link>}
    />

  }

}

//  export default connect()(nomatch)



